package com.ruoyi.hxf.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 缴费(推送服务模块)业务对象 f_pay
 *
 * @author hxf
 * @date 2023-01-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PayBo extends BaseEntity {

    /**
     * 编号
     */
    private Long payId;

    /**
     * 收费标题
     */
    @NotBlank(message = "收费标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payName;

    /**
     * 收费内容
     */
    @NotBlank(message = "收费内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payContent;

    /**
     * 图片
     */
    private String payPicture;

    /**
     * 收费金额
     */
    @NotNull(message = "收费金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal payMoney;

    /**
     * 备注
     */
    private String remark;

    /**
     * 收费推送类型
     */
    @NotBlank(message = "收费推送类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payType;

    /**
     * 收费推送状态
     */
    @NotBlank(message = "收费推送状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pushStatus;

    /**
     * 收费进行状态
     */
    private String progressStatus;

    /**
     * 图片地址
     */
    private String payUrl;

    /**
     * 缴费量
     */
    private Long payNumber;

    /**
     * 年级id
     */
    @NotNull(message = "年级不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 缴费截至日期
     */
    @NotNull(message = "缴费截至日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date endTime;

    /**
     * 是否删除（显示=0,不显示=1）
     */
    private String isDelete;


}
